home *** CD-ROM | disk | FTP | other *** search
- function main()
- {
- if(this.procNum == 1)
- {
- this.move();
- }
- if(this.procNum == 2)
- {
- this.stopmove();
- }
- if(this.procNum == 3)
- {
- this.move();
- this.muteki();
- }
- }
- function move()
- {
- if(_root.gPlayFlg == true)
- {
- this.px = _root._xmouse;
- this.py = _root._ymouse;
- }
- }
- function stopmove()
- {
- this._visible = !this._visible;
- this.pCnt--;
- if(0 >= this.pCnt)
- {
- this.pCnt = 30;
- this.procNum = 3;
- }
- }
- function muteki()
- {
- this._visible = !this._visible;
- this.pCnt--;
- if(0 >= this.pCnt)
- {
- this.procNum = 1;
- this._visible = true;
- }
- }
- function miss()
- {
- if(this.procNum == 1)
- {
- _root.scrollSpeed = 1;
- this.pCnt = 10;
- this.procNum = 2;
- }
- }
- function clrMC()
- {
- this.removeMovieClip();
- }
- this.px = 250;
- this.py = 270;
- this.procNum = 1;
- this.pCnt = 0;
-